package org.yiqixue.accounts.dto;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(
        name = "Accounts",
        description = "Schema to hold Account information"
)
public class AccountsDto {

    @Schema(
            description = "银行生成的账号", example = "3454433243"
    )
    private Long accountNumber;

    @Schema(
            description = "银行账户类型", example = "Savings"
    )
    private String accountType;

    @Schema(
            description = "银行账户余额", example = "999.99"
    )
    private Double accountBalance;
    
    @Schema(
            description = "银行分行地址", example = "北京市朝阳区123号"
    )
    private String branchAddress;
    
    public AccountsDto() {
    }
    
    public AccountsDto(Long accountNumber, String accountType, Double accountBalance, String branchAddress) {
        this.accountNumber = accountNumber;
        this.accountType = accountType;
        this.accountBalance = accountBalance;
        this.branchAddress = branchAddress;
    }
    
    public AccountsDto(Long accountNumber, String accountType, Double accountBalance) {
        this.accountNumber = accountNumber;
        this.accountType = accountType;
        this.accountBalance = accountBalance;
    }
    
    public Long getAccountNumber() {
        return accountNumber;
    }
    
    public void setAccountNumber(Long accountNumber) {
        this.accountNumber = accountNumber;
    }
    
    public String getAccountType() {
        return accountType;
    }
    
    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }
    
    public Double getAccountBalance() {
        return accountBalance;
    }
    
    public void setAccountBalance(Double accountBalance) {
        this.accountBalance = accountBalance;
    }
    
    public String getBranchAddress() {
        return branchAddress;
    }
    
    public void setBranchAddress(String branchAddress) {
        this.branchAddress = branchAddress;
    }
}
